package com.elitetyc.customview;

/**
 * Created by elitetyc on 2019/4/29.
 * Describe:
 */
public class Singletone {

//    构造器私有化
    private Singletone(){

    }

    private static class SingletoneHolder{
        private static final Singletone INSTANCE = new Singletone();
    }

    public Singletone getInstance(){
        return SingletoneHolder.INSTANCE;
    }
}
